import request from './request'


// 查询登录人信息
export function getuserinfo (){
    return request.get('/api/v1/crm/sign-contract-record/user-info')
}

// 上传头像接口
export function uploadheaderimgapi (data:any){
    return request.post('/api/v1/crm/sign-contract-record/upload', data)
}
// 修改个人信息接口
export function changepersonmsgapi (data:any){
    return request.put('/api/v1/crm/sign-contract-record/update-user-info',data)
}

// 获取销售目标
export function getSaleTaskapi (data:any){
    return request.get('/api/v1/crm/sales/task/getSaleTask',data)
}


// 获取消息列表
export function getmessagelistapi (data:any){
    return request.get('/api/v1/crm/message/list',data)
}

export function checkrealname (data:any){
    return request.post('/api/v1/crm/sales/check-real-name',data)
}
